package com.geeguo.ebuilder.client.business.system.role.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class RoleCreateDTO {

    @NotBlank(message = "编码不能为空")
    @Schema(title = "编码")
    private String code;
    @NotBlank(message = "名称不能为空")
    @Schema(title = "名称")
    private String name;
    @Schema(title = "备注")
    private String remark;
}